package com.ht.pms.core.dto;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 喻尊龙
 * @since 2018-12-12
 */
@ApiModel
@TableName("t_apply_reimbursement_detail")
public class ApplyReimbursementDetail extends Model<ApplyReimbursementDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	@ApiModelProperty(required= true,value = "主键")
	private Integer id;
    /**
     * 申请编号
     */
	@TableField("approve_id")
	@ApiModelProperty(required= true,value = "申请编号")
	private String approveId;
    /**
     * 费用序号
     */
	@ApiModelProperty(required= true,value = "费用序号")
	private String index;
    /**
     * 费用名称
     */
	@TableField("fee_name")
	@ApiModelProperty(required= true,value = "费用名称")
	private String feeName;
    /**
     * 摘要
     */
	@TableField("abstract_note")
	@ApiModelProperty(required= true,value = "摘要")
	private String abstractNote;
    /**
     * 金额
     */
	@ApiModelProperty(required= true,value = "金额")
	private String amount;
    /**
     * 付款方式
     */
	@TableField("pay_type")
	@ApiModelProperty(required= true,value = "付款方式")
	private String payType;
    /**
     * 创建时间
     */
	@TableField("create_time")
	@ApiModelProperty(required= true,value = "创建时间")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	@ApiModelProperty(required= true,value = "更新时间")
	private Date updateTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getApproveId() {
		return approveId;
	}

	public void setApproveId(String approveId) {
		this.approveId = approveId;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getFeeName() {
		return feeName;
	}

	public void setFeeName(String feeName) {
		this.feeName = feeName;
	}

	public String getAbstractNote() {
		return abstractNote;
	}

	public void setAbstractNote(String abstractNote) {
		this.abstractNote = abstractNote;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ApplyReimbursementDetail{" +
			", id=" + id +
			", approveId=" + approveId +
			", index=" + index +
			", feeName=" + feeName +
			", abstractNote=" + abstractNote +
			", amount=" + amount +
			", payType=" + payType +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			"}";
	}
}
